Skip to content

SF-3618 Write permissions for new books on sync#3528

Merged
RaymondLuong3 merged 2 commits intomasterfrom
fix/SF-3618
Oct 28, 2025
Merged

SF-3618 Write permissions for new books on sync#3528
RaymondLuong3 merged 2 commits intomasterfrom
fix/SF-3618

Conversation

@pmachapman
Copy link
Collaborator

@pmachapman pmachapman commented Oct 22, 2025

This PR allows Administrators who do not have all access to books on a project to add drafts to it for books not currently in that project.

I have marked this PR as testing not required, as it is backend only, but if you want to test the change yourself, use the branch feature/SF-3567-frontend, which I have wired up to test this code (in a very basic manner).

An e2e test is sufficient for the changes to the sync runner, as these will only be triggered if a project has books created in SF not in PT.


This change is Reviewable

@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 94.94949% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.26%. Comparing base (e2dd725) to head (5cd2397).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...c/SIL.XForge.Scripture/Services/ParatextService.cs 92.95% 0 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3528      +/-   ##
==========================================
+ Coverage   82.22%   82.26%   +0.04%     
==========================================
  Files         615      615              
  Lines       37053    37142      +89     
  Branches     6035     6076      +41     
==========================================
+ Hits        30465    30554      +89     
+ Misses       5701     5687      -14     
- Partials      887      901      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pmachapman pmachapman changed the title WIP: SF-3618 Write permissions for new books on sync SF-3618 Write permissions for new books on sync Oct 22, 2025
@pmachapman pmachapman marked this pull request as ready for review October 22, 2025 01:54
@pmachapman pmachapman added the e2e Run e2e tests for this pull request label Oct 22, 2025
@pmachapman pmachapman removed the e2e Run e2e tests for this pull request label Oct 27, 2025
@RaymondLuong3 RaymondLuong3 self-assigned this Oct 28, 2025
@RaymondLuong3 RaymondLuong3 added the e2e Run e2e tests for this pull request label Oct 28, 2025
Copy link
Collaborator

@RaymondLuong3 RaymondLuong3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RaymondLuong3 reviewed 8 of 9 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @pmachapman)

@RaymondLuong3 RaymondLuong3 merged commit de136f1 into master Oct 28, 2025
22 of 23 checks passed
@RaymondLuong3 RaymondLuong3 deleted the fix/SF-3618 branch October 28, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e Run e2e tests for this pull request testing not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants